From 57563ea9f0376e24fe7dcb7797aeb440e2df6ca0 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sun, 18 Jan 2009 07:26:43 +0000 Subject: [PATCH] Add #define babl_foo babl_foo_from_name macros, that should fix most builds that broke due to the below refactoring. * babl/babl-component.h * babl/babl-conversion.h * babl/babl-extension.h * babl/babl-format.h * babl/babl-model.h * babl/babl-type.h svn path=/trunk/; revision=383 --- ChangeLog | 12 ++++++++++++ babl/babl-component.h | 2 ++ babl/babl-conversion.h | 2 ++ babl/babl-extension.h | 2 ++ babl/babl-format.h | 2 ++ babl/babl-model.h | 2 ++ babl/babl-type.h | 2 ++ 7 files changed, 24 insertions(+) diff --git a/ChangeLog b/ChangeLog index 66716ad..4bbb840 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2009-01-17 Martin Nordholts + + Add #define babl_foo babl_foo_from_name macros, that should fix + most builds that broke due to the below refactoring. + + * babl/babl-component.h + * babl/babl-conversion.h + * babl/babl-extension.h + * babl/babl-format.h + * babl/babl-model.h + * babl/babl-type.h + 2009-01-17 Martin Nordholts s/babl_image/babl_image_new/ diff --git a/babl/babl-component.h b/babl/babl-component.h index 98dadc5..fe8b353 100644 --- a/babl/babl-component.h +++ b/babl/babl-component.h @@ -29,6 +29,8 @@ BABL_NAMED_CLASS_DECLARE (component); * NULL); */ +#define babl_component babl_component_from_name + typedef struct { BablInstance instance; diff --git a/babl/babl-conversion.h b/babl/babl-conversion.h index 8b0ca8a..2e15fef 100644 --- a/babl/babl-conversion.h +++ b/babl/babl-conversion.h @@ -31,6 +31,8 @@ BABL_NAMED_CLASS_DECLARE (conversion); * NULL); */ +#define babl_conversion babl_conversion_from_name + /* Type and Format */ typedef long (*BablFuncLinear) (char *src, char *dst, diff --git a/babl/babl-extension.h b/babl/babl-extension.h index 6cba1e9..6aaf6d7 100644 --- a/babl/babl-extension.h +++ b/babl/babl-extension.h @@ -27,6 +27,8 @@ BABL_NAMED_CLASS_DECLARE (extension); * BablExtension objects are only used internally in babl. */ +#define babl_extension babl_extension_from_name + typedef struct { BablInstance instance; /* path to .so / .dll is stored in instance name */ diff --git a/babl/babl-format.h b/babl/babl-format.h index d584f72..05c74cf 100644 --- a/babl/babl-format.h +++ b/babl/babl-format.h @@ -41,6 +41,8 @@ BABL_NAMED_CLASS_DECLARE (format); * name is used. */ +#define babl_format babl_format_from_name + typedef struct { BablInstance instance; diff --git a/babl/babl-model.h b/babl/babl-model.h index 494f4b6..9d9b2e2 100644 --- a/babl/babl-model.h +++ b/babl/babl-model.h @@ -34,6 +34,8 @@ BABL_NAMED_CLASS_DECLARE (model); * */ +#define babl_model babl_model_from_name + typedef struct { BablInstance instance; diff --git a/babl/babl-type.h b/babl/babl-type.h index ec3662c..314784f 100644 --- a/babl/babl-type.h +++ b/babl/babl-type.h @@ -35,6 +35,8 @@ BABL_NAMED_CLASS_DECLARE (type); * NULL); */ +#define babl_type babl_type_from_name + typedef struct { BablInstance instance; -- 2.30.2